import axios from'./index'                                                                       

export const getDataApi=()=>{
    return axios.get('/news')
}